﻿@model HomeCareLibrary.Models.UserDetailIDModel
   @Html.HiddenFor(m => m.ps_priority)
                                                    <h3 class="personalization-heading no-Txtshadow">Priority</h3>
                                                  
                                                    <p class="top-data">
                                                        The highest tasks & tips are the ones that have the highest benefits relative to their costs.
                              Select below the level of priority that you are interested in.
                                                    </p>
                                                    <div class="goal-data">
                                                        <div class="Priority-table-data">
                                                            <table class="table">
                                                                <tbody>
                                                                    <tr>
                                                                        <td>
                                                                            <div class="checkbox checkboxFive">
                                                                                
                                                                                    <input type="checkbox" value="5" id="chk5" class="checkpriority">
                                                                                @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] != null && Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.ANDROID_APP)
                                                                               {  
                                                                                <label for="chk5" class="homeInner"></label>
                                                                                }
                                                                            </div>
                                                                        </td>
                                                                        <td width="60px;">
                                                                            <img src="@Url.Content("~/images/personalization-images/star1-per.png")"></td>
                                                                        <td>send me only 5 star priorities</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <div class="checkbox checkboxFive">
                                                                                
                                                                                    <input type="checkbox" id="chk4" value="4" class="checkpriority">
                                                                               @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] != null && Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.ANDROID_APP)
                                                                      { 
                                                                                <label for="chk4" class="homeInner"> </label>
                                                                               }
                                                                            </div>
                                                                        </td>
                                                                        <td width="60px;">
                                                                            <img src="@Url.Content("~/images/personalization-images/star2-per.png")"></td>
                                                                        <td>send me only 4 star and higher</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <div class="checkbox checkboxFive">
                                                                                
                                                                                    <input type="checkbox" id="chk3" value="3" class="checkpriority">
                                                                               @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] != null && Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.ANDROID_APP)
                                                                      { 
                                                                                 <label for="chk3" class="homeInner"></label>
                                                                               }
                                                                            </div>
                                                                        </td>
                                                                        <td width="60px;">
                                                                            <img src="@Url.Content("~/images/personalization-images/star3-per.png")"></td>
                                                                        <td>send me only 3 star and higher</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <div class="checkbox checkboxFive">
                                                                               
                                                                                    <input type="checkbox" id="chk2" value="2" class="checkpriority">
                                                                               @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] != null && Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.ANDROID_APP)
                                                                      { 
                                                                                 <label for="chk2" class="homeInner"> </label>
                                                                               }
                                                                            </div>
                                                                        </td>
                                                                        <td width="60px;">
                                                                            <img src="@Url.Content("~/images/personalization-images/star4-per.png")"></td>
                                                                        <td>send me only 2 star and higher</td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td>
                                                                            <div class="checkbox checkboxFive">
                                                                                
                                                                                    <input type="checkbox" id="chk1" value="1" class="checkpriority">
                                                                               @if (Session[HomeCareLibrary.Constants.SessionConstants.MODE] != null && Session[HomeCareLibrary.Constants.SessionConstants.MODE] == HomeCareLibrary.Constants.ApplicationModeConstants.ANDROID_APP)
                                                                      { 
                                                                                 <label for="chk1" class="homeInner"></label>
                                                                               }
                                                                            </div>
                                                                        </td>
                                                                        <td width="60px;">
                                                                            <img src="@Url.Content("~/images/personalization-images/star5-per.png")"></td>
                                                                        <td>send me all priorities</td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                        <p class="add-txt text-center">
                                                            To receive ALL task & tips
(not just the highest priorities)
then click the last choice.
                                                        </p>
                                                    </div>
 <span style="margin-left:10px;">
                   JSON:
                    @if (ViewBag.JsonString != string.Empty)
                   {
                      @ViewBag.JsonString
                   }</span>

<br /><br />
                         <span style="margin-left:10px;">
                  Request Content-Type:
                    @if (ViewBag.ContentType != string.Empty)
                   {
                      @ViewBag.ContentType
                   }
                      </span>

                      <br /><br />
                         <span style="margin-left:10px;">
                  Request URL:
                    @if (ViewBag.Url != string.Empty)
                   {
                      @ViewBag.Url
                   }
                      </span>


 <script type="text/javascript">


        jQuery(document).ready(function () {
           checkpriority();
        });

       
     </script>
                                               